package router

import (
	"gin_reptile/controller"
	"github.com/gin-gonic/gin"
)

var miniApiVer *gin.RouterGroup

func InitRouter(g *gin.Engine) {
	installController(g)
}

func installController(engine *gin.Engine) {
	miniApiVer = engine.Group("reptile")

	miniApiVer.GET("getdata", controller.GetData)
}
